<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width">
<meta name="viewport" content="initial-scale=1.0,user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<script src="js/jquery.min.js"></script>
<script type="text/javascript" src=""></script>
<!-- 三级联动的三个js -->
<script src="js/LAreaData1.js"></script>
<script src="js/LAreaData2.js"></script>
<script src="js/LArea.js"></script>

<!-- 弹出页面框开始 -->
<script type="text/javascript">
   //弹出页面框
   $(function(){  
  // $("#area").css("display","none");
  $("#district_f").css("display","none"); 
  $("#district_back").css("display","none");
  $(".next").toggle(function(){
    $("#district_f").show();
    $("#district_back").show();
  },function(){
    $("#district_f").show();
    $("#district_back").show();
  });   
  $(".t1").click(function(){

    var alt = $(this).attr("alt");
    $.post(function(response,status,xhr){         
      console.log(response);
      var str = "<ul>";
      for(var i=0;i<response.length;i++){
        str += "<li><a href='__ADD__/Index/tt?id="+response[i]['id']+"'>"+ response[i]['Tname'] +"</a></li>";
      }
      str += "</ul>";     
    },"json");  
  });
  });       
    function closeme(){
        $("#district_f").css("display","none"); 
        $("#district_back").css("display","none")
      }
 
     function choose_aera(rv){
     var aera=rv;
     closeme();
     document.getElementById("area").innerHTML=rv;
     }
     function changeOn(rv){
   };
</script>
<!-- 弹出页面框结束 -->
<link rel="stylesheet" href="css/LArea.css">
<link rel="stylesheet" type="text/css" href="css/partner.css">
	<title>partner</title>
<body style="background-image: url(images/partner/bkg.jpg);background-size: 100%">
	<!-- <img src=".././images/partner/5.jpg" alt=""> -->
	<div class="select">
		<div class="a1 next"><p>公司简介</p></div>
		<div class="a2 next"><p>项目介绍</p></div>
		<div class="a3 next"><p>团队风采</p></div>
		<div class="a4 next"><p>项目扶持</p></div>
		<div class="a5 next"><p>市场展望</p></div>
		<div class="a6 next"><p>优当愿景</p></div>
	</div>
	<div class="fenge">
		<div class="b1 next" style="margin-right: 10%;background-image: url(images/partner/2.png);"><p>兼职</p></div>
		<div class="b2 next" style="background-image: url(images/partner/3.png);"><p>城市加盟</p></div>
	</div>

	<!-- 弹出页面框 -->
	<div id="district_back" class="district_cho" onclick="closeme()"></div> 
 		<div id="district_f"   class="district_cho">
 		 	<div id="district_area" >
     <ul>
        <a href="javascript:;"  class="t1"> 
        </li></a>
      <div class="now">
      <span>用户信息填写</span>
      </div>
     <form action="aa">
      <div class="mation">

		<div class="intone">姓名：</div>
		<div class="intwo"><input type="text" class="input_1"></div>
		<div class="intone">电话：</div>
		<div class="intwo"><input type="text" class="input_1"></div>
		<div class="intone">城市：</div>
		<div class="intwo">
		<!-- 城市三级联动 -->
	<div>
		<div class="content-block">
			<input id="demo1" type="text" readonly="" placeholder="城市选择特效"  value="广东省,深圳市,南山区">
			<input id="value1" type="hidden" value="20,234,504">
		</div>
	</div>
		<!-- 城市三级联动结束 -->


	<!-- 三级联动的js -->
<script>
	var area1 = new LArea();
	area1.init({
	'trigger': '#demo1', //触发选择控件的文本框，同时选择完毕后name属性输出到该位置
	'valueTo': '#value1', //选择完毕后id属性输出到该位置
	'keys': {
	id: 'id',
	name: 'name'
	}, //绑定数据源相关字段 id对应valueTo的value属性输出 name对应trigger的value属性输出
	'type': 1, //数据源类型
	'data': LAreaData //数据源
});
area1.value=[1,13,3];//控制初始位置，注意：该方法并不会影响到input的value
var area2 = new LArea();
area2.init({
	'trigger': '#demo2',
	'valueTo': '#value2',
	'keys': {
		id: 'value',
		name: 'text'
	},
	'type': 2,
	'data': [provs_data, citys_data, dists_data]
});
</script>
	<!-- 三级联动的js结束 -->
		</div>
		<div class="intone">留言：</div>
		<div class="intwo">
		<textarea name="" id="" class="input_2" cols="30" rows="10" maxlength="100"></textarea>
		</div>
</form>
		<div class="now"></div>
     	<div class="puter">
			<!-- <p>提交信息</p> -->
			<button type="submit">提交信息</button>
     	</div>
    </div>

  </div>
</div>
<!-- 弹出页面结束 -->
	
</body>
</html>